home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #5 / Amiga Plus CD - 1996 - No. 5.iso / pd / texte / frexx / frexxed / docs / frexxed.faq < prev    next >
Text File  |  1996-05-20  |  12KB  |  295 lines

  1. Latest update: 960520
  2. ~~~~~~~~~~~~~~~~~~~~~
  3.         Frequently Asked Questions about FrexxEd
  4.         ========================================
  5.  
  6.   During the time we have developed FrexxEd, we have received similar
  7.   questions several times. Here the most frequently asked questions and
  8.   the answers to them:
  9.  
  10. 1. How to open a file from the prompt into an already running FrexxEd?
  11.  
  12. 2. Can't you add the function XXXXXX which is found in the editor XXXXXX?
  13.  
  14. 3. I want FrexxEd to XXXX when I press XXXX!
  15.  
  16. 4. Why isn't there any redo?
  17.  
  18. 5. Why use FPL when there is ARexx?
  19.  
  20. 6. How can I get FrexxEd to detach from the shell?
  21.  
  22. 7. I change some settings and save them, but they have no effect!
  23.    (i.e screen mode, fonts, screen/window sizes etc)
  24.  
  25. 8. Why does not return/enter in the search/replace requester jump to the next
  26.    string gadget instead of unactivate the current?
  27.  
  28. 9. How do I remove that annoying 'End Of File' string?
  29.  
  30. 10. How do I make FrexxEd read the file into a new buffer instead of inserting
  31.     when I drop an icon on the FrexEd AppIcon/AppWindow?
  32.  
  33. 11. Why isn't there any Amiga-symbol in the menu shortcuts?
  34.  
  35. 12. On which system configurations have you tested FrexxEd?
  36.  
  37. 13. I try to resize the FrexxEd window to cover the entire screen, but it
  38.     always resizes back a few pixels!!?
  39.  
  40. 14. I've found some non-localized strings in FrexxEd!
  41.  
  42. 15. Is it possible to get two views of the same file?
  43.  
  44. 16. How to I get FrexxEd to wordwrap?
  45.  
  46. -------------------------------------------------------------------------------
  47.  
  48. 1. How to open a file from the prompt into an already running FrexxEd?
  49.   (like the CED "ed <filename>")
  50.  
  51.   Use the 'Freds' script!
  52.  
  53.   USAGE:
  54.  
  55.     Freds [FILENAME] [STICKY]
  56.  
  57.     Where:
  58.  
  59.     FILENAME -    Full path of file name to edit
  60.  
  61.     STICKY -    If the parameter STICKY is entered, the script will
  62.             wait until the loaded file is killed before exiting
  63.             to shell again.
  64.  
  65. ------------------------------------------------------------------------------
  66.  
  67. 2. Can't you add the function XXXXXX which is found in the editor XXXXXX?
  68.  
  69.     Before starting to ask questions like this, I urge you to read the
  70.   documentation regarding FPL and the Functions.guide manual, since FPL is a
  71.   very powerful controlling language of FrexxEd. Missing functions can very
  72.   often be programmed/configurated using FPL.
  73.  
  74.   If you have read those parts and still can't figure out a way to code it
  75.   in FPL, _then_ you should ask us that question!
  76.  
  77. ------------------------------------------------------------------------------
  78.  
  79. 3. I want FrexxEd to XXXX when I press XXXX!
  80.  
  81.     FrexxEd features the ability of assigning functions to keys. Therefore do
  82.   not ask questions regarding the postitioning of functions to certain key-
  83.   sequences since you can modify them all to suit your own taste.
  84.  
  85. ------------------------------------------------------------------------------
  86.  
  87. 4. Why isn't there any redo?
  88.  
  89.     The "redo" function that exist in CygnusEd (and other editors?) is not
  90.   included in FrexxEd since we think it's the wrong way of looking at the
  91.   undo concept.
  92.  
  93.     FrexxEd allows all changes made in the text of a buffer to be undone,
  94.   up to a certain amount of change. Each buffer records changes individually,
  95.   and the undo command always applies to the current buffer. Usually each
  96.   editing command makes a separate entry in the undo records, but some
  97.   commands such as `Replace()' make many entries, and very simple commands
  98.   such as self-inserting characters are often grouped to make undoing less
  99.   tedious.
  100.  
  101.     The command `amiga u' is how you undo. The first time you
  102.   give this command, it undoes the last change. Point moves to the
  103.   text affected by the undo, so you can see what was undone.
  104.  
  105.     Consecutive repetitions of the `amiga u' commands undo earlier
  106.   and earlier changes, back to the limit of what has been recorded. If
  107.   all recorded changes have already been undone, the undo command
  108.   prints an error message and does nothing.
  109.  
  110.     Any command that somehow changes the buffer breaks the sequence of
  111.   undo commands. Starting at this moment, the previous undo commands are
  112.   considered ordinary changes that can themselves be undone. Thus, you
  113.   can redo changes you have undone by typing `amiga shift u'
  114.   and then using more undo commands.
  115.  
  116.     If you notice that a buffer has been modified accidentally, the
  117.   easiest way to recover is to type `amiga u' repeatedly until the `C'
  118.   disappear from the front of the status line. At this time, all the
  119.   modifications you made have been cancelled. If you do not remember
  120.   whether you changed the buffer deliberately, type `amiga u' once, and
  121.   when you see the last change you made undone, you will remember why
  122.   you made it. If it was an accident, leave it undone. If it was
  123.   deliberate, redo the change as described in the preceding paragraph.
  124.  
  125.     Whenever an undo command makes the `C' disappear from the status
  126.   line, it means that the buffer contents are the same as they were
  127.   when the file was last read in or saved.
  128.  
  129. ------------------------------------------------------------------------------
  130.  
  131. 5. Why use FPL when there is ARexx?
  132.  
  133.   * ARexx provides an interprocess programming language interface.
  134.     FPL provides an internal interpreting language.
  135.  
  136.   * When using FPL, we don't have to interpret anything by ourselves, FPL
  137.     does it for us. ARexx is a language that requires a lot of extra
  138.     language coding within the program that uses it.
  139.  
  140.   * FPL communicates with direct function calls instead of sending
  141.     messages to messageports which gives more internal flexibility with
  142.     less overhead.
  143.  
  144.   * FPL is a platform independent language. FrexxWare intends to
  145.     release software under different operating systems and we want
  146.     continuity in the programming language. We want the same FrexxEd
  147.     scripts to work on the Amiga version as on the future possible
  148.     OS/2 and UNIX versions! FPL is easily ported to all modern
  149.     operating systems.
  150.  
  151.   * FPL is, quite subjective, a more powerful and complete programming
  152.     language.
  153.  
  154.   * It's not "yet another script language". It's 99% C. If you're
  155.     familiar with C, you can code FPL. In fact, I think most programming
  156.     people learn to code FPL faster than they learn ARexx. C is a
  157.     universal language, Rexx is (mainly) Amiga and OS/2.
  158.  
  159.   * FPL isn't a substitute for ARexx. It's a different language and
  160.     works as a complement to ARexx inside FrexxEd. FPL will (probably) never
  161.     be able to perform the same tasks as ARexx and vice versa. That's not
  162.     the idea either...
  163.  
  164. ------------------------------------------------------------------------------
  165.  
  166. 6. How can I get FrexxEd to detach from the shell?
  167.  
  168.   By using the standard AmigaDOS way: "run <>NIL: FrexxEd"
  169.  
  170.   Which under V37/V38 causes enforcer hits, and instead should be
  171.   written like: "run >NIL: <NIL: FrexxEd"
  172.  
  173. ------------------------------------------------------------------------------
  174.  
  175. 7. I change some settings and save them, but they have no effect!
  176.  
  177.   In FrexxEd versions prior to 1.5:
  178.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  179.   You must be very observant *not* to use the 'copy_wb' flag if don't want
  180.   FrexxEd to copy as much as possible from your workbench environment on
  181.   every startup! 'copy_wb' works just as well on any public screen.
  182.  
  183.   When you want to change local settings, save them and have them take effekt
  184.   on each startup, make sure you alter them with the 'All locals' setting
  185.   window.
  186.  
  187.   Since 1.5:
  188.   ~~~~~~~~~~
  189.   To make FrexxEd look like the public screen, CloneWB() must be used!
  190.  
  191. ------------------------------------------------------------------------------
  192.  
  193. 8. Why does not return/enter in the search/replace requester jump to the next
  194.    field instead of unactivate the current?
  195.  
  196.   Enter the following line to your user.FPL file:
  197.  
  198.   SetInfo(-1, "req_ret_mode", 1); /* CED-emulation style */
  199.  
  200. ------------------------------------------------------------------------------
  201.  
  202. 9. How do I remove that annoying 'End Of File' string?
  203.  
  204.   Run the following line as an FPL program:
  205.  
  206.     FACT(-1, 'S', "New string");
  207.  
  208. ------------------------------------------------------------------------------
  209.  
  210. 10. How do I make FrexxEd read the file into a new buffer instead of inserting
  211.     when I drop an icon on the FrexEd AppIcon/AppWindow?
  212.  
  213.   Put the following little program in a file and execute it:
  214.  
  215.         /* start of file */
  216.         export int Dropped(string file)
  217.         {
  218.           int id=New();
  219.           if(0>Load(file))
  220.             Kill(id);           /* failed loading */
  221.           else {
  222.             Activate(id);       /* popup a view */
  223.             CurrentBuffer(id);  /* make it the current */
  224.           }
  225.           return 1; /* stop the insert operation! */
  226.         }
  227.         Hook("IconDrop", "Dropped");
  228.         /* end of file */
  229.  
  230. ------------------------------------------------------------------------------
  231.  
  232. 11. Why isn't there any Amiga-symbol in the menu shortcuts?
  233.  
  234.   Because of the simple reason that the short cuts aren't put there the regular
  235.   menu-shortcut way, and therefor we can't access that symbol.
  236.   The shortcuts are visualized using our own custom routine for more control.
  237.   We want to be able to add unlimited shortcut strings to the menus with any
  238.   qualifiers.
  239.  
  240. ------------------------------------------------------------------------------
  241.  
  242. 12. On which system configurations have you tested FrexxEd?
  243.  
  244.   Machines:
  245.     A500(+), A600, A1200, A2000, A3000, A4000
  246.   AmigaDOS versions:
  247.     AmigaDOS V37-V40
  248.   Graphic modes/hardwares:
  249.     Retina, Spectrum, Piccolo, Picasso II, A2024, AGA, ECS, OCS
  250.   Processors:
  251.     MC68000-MC68060 (native and with different accellerators)
  252.   Memory amounts:
  253.     1MB-30MB RAM (chip/16bit/32bit)
  254.   Systems:
  255.     It has been used as window and screen in every thinkable screen mode, as
  256.     backdrop on public screens, as mail editor in Spot and likewise
  257.     applications.
  258.  
  259. ------------------------------------------------------------------------------
  260.  
  261. 13. I try to resize the FrexxEd window to cover the entire screen, but it
  262.     always resizes back a few pixels!!?
  263.  
  264.   The info variable "auto_resize" will, if enabled, force FrexxEd to use the
  265.   minimum size that fits the same number of lines and columns that is set by
  266.   the user. Disable "auto_resize" to stop all such attempts.
  267.  
  268. ------------------------------------------------------------------------------
  269.  
  270. 14. I've found some non-localized strings in FrexxEd!
  271.  
  272.   FrexxEd is a very modular system. "All" built-in strings in FrexxEd does
  273.   appear in the localized language. The drawback is that FrexxEd is very often
  274.   extended with FPL programs that supplies strings in only one language, and
  275.   sometimes there are messages from FPL appearing and those are in straight
  276.   english always (this is subject to change in a future FPL version).
  277.  
  278. ------------------------------------------------------------------------------
  279.  
  280. 15. Is it possible to get two or more views of the same file?
  281.  
  282.   Indeed! The menu brought to FrexxEd by Menu.FPL sets the key sequence
  283.   "Amiga d" to do the job. FrexxEd supports any number of views on the same
  284.   file. Read more details under View Concepts in FrexxEd.guide.
  285.  
  286. -------------------------------------------------------------------------------
  287.  
  288. 16. How to I get FrexxEd to wordwrap?
  289.  
  290.    For a true, word-processor style wordwrapping, there's a program called
  291.   WordPro.FPL you need to run, and then enable 'WordPro' for that particular
  292.   buffer.
  293.  
  294.   For a simpler and faster wordwrap, use WordWrap.FPL
  295.